package com.iweb.tmall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iweb.tmall.entity.Brand;
import org.springframework.stereotype.Repository;

@Repository
public interface BrandMapper extends BaseMapper<Brand> {
    Integer logicDeleteById( Integer id);
    Integer addRelation(Integer brandId,Integer categoryId);
    Integer validRelation(Integer brandId,Integer categoryId);
}
